ShortPixel\Model\File\FileModel D

Total Complexity 129
Dependencies 3
Dependents 4
Total lines 728
Lines of code 459
Logical lines of code 255
Comment lines 129
Methods 34
Properties 15

Methods 34

Method Rating Maintainability Complexity Lines of code
mb_pathinfo()
A
48 14 34
is_file()
A
50 10 33
relativeToFullPath()
A
49 10 33
processPath()
A
52 8 26
copy()
S
50 6 28
getBackupDirectory()
S
53 6 25
setFileInfo()
S
60 6 12
UrlToPath()
S
51 4 29
is_writable()
S
57 4 20
delete()
S
55 4 20
is_directory_writable()
S
58 4 18
__construct()
S
59 4 16
create()
S
59 4 15
getFileSize()
S
62 4 12
hasBackup()
S
63 4 11
getMime()
S
63 4 11
move()
S
61 3 14
append()
S
60 3 13
exists()
S
65 3 9
getFileDir()
S
67 3 8
is_readable()
S
73 2 5
is_virtual()
S
74 2 5
getBackupFile()
S
71 2 6
getFullPath()
S
70 2 7
getFileName()
S
74 2 5
getFileBase()
S
74 2 5
getExtension()
S
74 2 5
__debuginfo()
S
63 1 11
__toString()
S
81 1 3
resetStatus()
S
68 1 8
getModified()
S
80 1 3
getBackupFileName()
S
81 1 3
getContents()
S
80 1 3
getRawFullPath()
S
82 1 3